package com.tj.jinzao.activity;

import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.LinearLayout;

import com.tj.jinzao.R;
import com.tj.jinzao.base.BaseActivity;
import com.tj.jinzao.fragment.SearchTalkFragment;

/**
 * Created by LiuYX on 2019/4/19.]
 * 咨询师
 */

public class TalkActivity extends BaseActivity implements View.OnClickListener{
    private LinearLayout back_lay;
    @Override
    public int getLayoutResource() {
        return R.layout.activity_talk;
    }
    @Override
    protected Fragment createFragment() {
        return SearchTalkFragment.newInstance();
    }

    @Override
    protected void findId() {
        back_lay=findViewById(R.id.back_lay);
    }

    @Override
    protected void setupView() {
        back_lay.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.back_lay:
                finish();
                break;
        }
    }
}
